package com.war.service.system;

import com.war.pojo.system.User;
import com.war.pojo.system.Warehouse;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;

@Service
public interface WarehouseService {
    public HashMap<String,Object> selectAll();
    public List<Warehouse> selectName();

    //按条件查询仓库
    HashMap<String, Object> select(Warehouse warehouse);

    //删除仓库
    String delWare(Warehouse warehouse);

    //查找
    Warehouse selectByid(Warehouse warehouse);

    //添加
    String addWare(Warehouse warehouse);

    //修改用户信息
    String editIWare(Warehouse warehouse);

}
